<template>
  <div class="playing">
    <FilmList :films="films"></FilmList>
  </div>
</template>

<script>
import FilmList from "@/components/FilmList";
import { mapActions } from "vuex";
export default {
  name: "Playing",
  components: { FilmList },
  data() {
    return {
      films: [], //热映
    };
  },
  created() {},
  mounted() {
    this.films = JSON.parse(sessionStorage.getItem('vuex')).playingFilmList.films 
    console.log('触发',this.films);
  },
  methods: {
    ...mapActions,
  },
};
</script>

<style lang="less" scoped>
</style>